package cn.com.api.mapper;

import java.util.Map;

import org.apache.ibatis.annotations.Param;

import cn.com.api.entity.ApiToken;

public interface ApiTokenMapper {

	public boolean addToken(ApiToken token);

	public boolean updateToken(ApiToken token);

	public boolean updateTokenByOpenId(ApiToken token);

	public ApiToken searByOpenId(@Param("openid") String openid);

}